﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Statistics.aspx.cs" Inherits="MPBlog.EasyVS.Statistics" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../Style/SoftwareUseStatistics.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:Repeater runat="server" ID="rpt1">
            <HeaderTemplate>
                <table class="softwareStatisticsTable" cellpadding="0" cellspacing="0">
                    <tr>
                        <th>
                            mac
                        </th>
                        <th>
                            name
                        </th>
                        <th style="width: 400px;">
                            lastUseTime
                        </th>
                    </tr>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td>
                        <%# ((MPBlog.Model.SoftwareUseStatistics)Container.DataItem).Mac%>
                    </td>
                    <td>
                        <%# ((MPBlog.Model.SoftwareUseStatistics)Container.DataItem).ComputerName%>
                    </td>
                    <td>
                        <%# GetIntervalTime(((MPBlog.Model.SoftwareUseStatistics)Container.DataItem).LastUseTime)%>
                    </td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </table>
            </FooterTemplate>
        </asp:Repeater>
    </div>
    </form>
</body>
</html>
